package com.ny.zmb.glxt.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;

/**
 * 商品
 *
 * @author az
 * @date 2024-12-04 17:30:45
 */
@Data
@TableName("pm_product")
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "商品列表")
public class PmProduct extends Model<PmProduct> {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "")
    private Integer id;
    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String name;
    /**
     * 详情
     */
//    @ApiModelProperty(value = "详情")
//    private String desc;
    /**
     * 缩略图
     */
    @ApiModelProperty(value = "缩略图")
    private String thumb;
    /**
     * 真实商品图
     */
    @ApiModelProperty(value = "真实商品图")
    private String realImg;
    /**
     * 售价
     */
    @ApiModelProperty(value = "售价")
    private BigDecimal price;
    /**
     * 购物墨宝
     */
    @ApiModelProperty(value = "购物墨宝")
    private BigDecimal buyMoney;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Integer createTime;
    /**
     * 删除时间
     */
    @ApiModelProperty(value = "删除时间")
    private Integer deleteTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Integer updateTime;
    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private Integer status;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sort;
    /**
     * 分类
     */
    @ApiModelProperty(value = "分类")
    private Integer cateId;
    /**
     * 是否删除
     */
    @ApiModelProperty(value = "是否删除")
    private Integer isDel;
    /**
     * 库存
     */
    @ApiModelProperty(value = "库存")
    private Integer stock;
    /**
     * 赠送积分
     */
    @ApiModelProperty(value = "赠送积分")
    private BigDecimal integral;
    /**
     * 涨价比例
     */
    @ApiModelProperty(value = "涨价比例")
    private Integer coinFee;
    /**
     * 是否提现商品
     */
    @ApiModelProperty(value = "是否提现商品")
    private Integer isWithdraw;
    /**
     * 是否参与分润
     */
    @ApiModelProperty(value = "是否参与分润")
    private Integer isProfit;
    /**
     *
     */
    @ApiModelProperty(value = "")
    private Integer adminId;
    /**
     *
     */
    @ApiModelProperty(value = "")
    private String img;
    /**
     * 图片集
     */
    @ApiModelProperty(value = "图片集")
    private String imgs;
    /**
     * 所属店铺
     */
    @ApiModelProperty(value = "所属店铺")
    private Integer storeId;
    /**
     * 原始发布店铺
     */
    @ApiModelProperty(value = "原始发布店铺")
    private Integer ownerStoreId;
    /**
     * 成本价
     */
    @ApiModelProperty(value = "成本价")
    private BigDecimal costPrice;
    /**
     * 让利部分
     */
    @ApiModelProperty(value = "让利部分")
    private BigDecimal profitPrice;
    /**
     * 浏览次数
     */
    @ApiModelProperty(value = "浏览次数")
    private Integer views;
    /**
     * 是否审核通过
     */
    @ApiModelProperty(value = "是否审核通过")
    private Integer isCheck;
    /**
     * 云仓id
     */
    @ApiModelProperty(value = "云仓id")
    private Integer cloudstoreId;
    /**
     * 店铺内分类
     */
    @ApiModelProperty(value = "店铺内分类")
    private Integer storeCateId;

}